<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>错误页面</title>
</head>
<body>
<div style="margin: 0 auto; height: 300px; width: 200px; border: 1px solid black;" th:text="|发生异常: ${exception}|">
    发生异常: ${exception}
</div>
</body>
</html>